<?php
/**
 * Created by phpstrom.
 * User:wangyahe
 * Date: 2017/7/11
 * Time: 21:13
 */

namespace app\admin\validate;


use think\Validate;

class Slide extends Validate
{
	protected $rule=[
		'slide_name'=>'require',
		'cate_id'=>'require',
		'slide_thumb'=>'require',
	];
	protected $message=[
		'slide_name.require'=>'请填写轮播图的名称',
		'cate_id.require'=>'请填写轮播图的链接分类',
		'slide_thumb.require'=>'请上传轮播图的图片',
	];
}